package com.peas.platform.module.icims.expenditure.expenses.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.ExpenditureApplicationFileRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.po.ExpenditureApplicationFilePo;
import com.peas.platform.module.icims.expenditure.expenses.domain.ExpenditureApplicationFileDomain;
import com.peas.platform.module.icims.expenditure.expenses.dto.ExpenditureApplicationFileDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureApplicationFileDomainImpl extends BaseDomainImpl<ExpenditureApplicationFileDto, ExpenditureApplicationFilePo> implements ExpenditureApplicationFileDomain {

    @Resource
    private ExpenditureApplicationFileRepository expenditureApplicationFileRepository;

    @Override
    public BaseRepository<ExpenditureApplicationFilePo> getMapper() {
        return expenditureApplicationFileRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureApplicationFilePo>> getRepositoryClass() {
        return ExpenditureApplicationFileRepository.class;
    }

}
